<?php
class MobileUserModel extends Model{
	protected $_validate = array(
		array('phone','','mobile phone is already exist',0,'unique',1)
	);
	protected $_map = array(
		'mobile'=>'phone',
		'password'=>'passwd'
	);
	protected $_auto = array(
		array('passwd','md5',1,'function'),
		array('regtime','time',1,'function')
	);
	
}